<?php
	require('config.php');
	$user_id=$_REQUEST['user_id'];
    $wb_id=$_REQUEST['wb_id'];
    $star=$_REQUEST['star'];
    $time=date('Y-m-d H:i:s');
    $sql="INSERT INTO ".$oto."_help_star (`helpId`,`userId`,`star`,`createTime`) VALUES ('$wb_id','$user_id','$star','$time')";
    $result=$db->query($sql);
    if($result)
    {
    	$data[0]['pan']="true";
    }
    else $data[0]['pan']="false";
	echo json_encode($data);
?>